package org.jeecg.modules.logistics.manage.sq_info.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.jeecg.modules.logistics.manage.qz_info.entity.QzInfo;
import org.jeecg.modules.logistics.manage.qz_info.mapper.QzInfoMapper;
import org.jeecg.modules.logistics.manage.qz_info.service.IQzInfoService;
import org.jeecg.modules.logistics.manage.sq_info.entity.SqInfo;
import org.jeecg.modules.logistics.manage.sq_info.mapper.SqInfoMapper;
import org.jeecg.modules.logistics.manage.sq_info.service.ISqInfoService;
import org.jeecg.modules.logistics.manage.wljd_info.mapper.WljdInfoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 物流接单信息
 * @Author: 唐小尊
 * @Date:   2019-11-21
 * @Version: V1.0
 */
@Service
@DS("freight")
public class SqInfoServiceImpl implements ISqInfoService {
    @Autowired
    SqInfoMapper sqInfoMapper;

    @Override
    public SqInfo getOneSq(String qzId) {
        return sqInfoMapper.getOneSq(qzId);
    }

    @Override
    public List<SqInfo> getAllSq() {
        return sqInfoMapper.getAllSq();
    }
}
